<%--
  Created by IntelliJ IDEA.
  User: 15458
  Date: 2025/3/24
  Time: 14:52
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" isErrorPage="true" %>
<!DOCTYPE html>
<html>
<head>
    <title>系统错误 - 电商助农平台</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet">
</head>
<body class="bg-light d-flex align-items-center min-vh-100">
<div class="container text-center">
    <div class="card shadow-lg p-4" style="max-width: 600px; margin: auto;">
        <h1 class="text-danger mb-4"><i class="fas fa-exclamation-triangle"></i> 系统错误 !</h1>
        <div class="alert alert-danger text-start">
            <h5>错误信息：</h5>
            <p class="mb-0">${not empty errorMessage ? errorMessage : exception.message}</p>
        </div>
        <a href="${pageContext.request.contextPath}/products"
           class="btn btn-primary mt-4">
            <i class="fas fa-arrow-left me-2"></i>返回管理界面
        </a>
    </div>
</div>
</body>
</html>
